package util.file;

/**
 * @AUTHOR : yangfan
 * @DATE : 2016/12/8
 * @TIME : 21:36
 * @VERSION : 1.0
 * @DESC : 文件操作相关常量
 */
class FileConstant {

	//默认编码
	final static String DEFAULT_ENCODE_TYPE = "utf-8";
	//操作成功
	final static Boolean OPERATION_SUCCESS = Boolean.TRUE;
	//操作失败
	final static Boolean OPERATION_FAILED = Boolean.TRUE;
	//文件夹创建成功
	final static String MAKE_DIR_SUCCESS = "make folder success.";
	//文件夹创建失败
	final static String MAKE_DIR_FAILED = "make folder failed！";
	//路径已经存在
	final static String PATH_IS_EXIST = "file path is exsit！";
	//删除成功
	final static String DELETE_SUCCESS = "delete success.";
	//删除失败
	final static String DELETE_FAILED = "delete failed！";
	//未找到文件路径,创建文件夹
	final static String PATH_IS_USELESS_AND_CREATE = "not found folder,making folder...";
	//文件不存在
	final static String FILE_IS_NOT_EXITS = "file is not exsit！";
	//追加成功
	final static String APPEND_SUCCESS = "append file success！";
	//输入输出异常
	final static String IO_EXCEPTION = "write out of file failed！";
	//编码不识别,使用默认编码
	final static String UNSUPPORTED_ENCODE_USE_DEFAULT_ENCODE =
			"encode is not support,please handle with" + FileConstant.DEFAULT_ENCODE_TYPE;
	//使用默认编码
	final static String USE_DEFAULT_ENCODE = "handle with encode " + FileConstant.DEFAULT_ENCODE_TYPE;
}
